package com.wms.mapper;

import com.wms.pojo.Wine;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WineMapper {

    List<Wine> queryAll();

    Wine queryById(Integer id);

    Boolean updateWine(Wine wine);

    Boolean deleteWine(Integer id);

    Boolean addWine(Wine wine);
}
